<template>
  <div class="docker">
    <span class="docker__item" v-for="(item,index) in dockerList" :key="index">{{item.name}}</span>
  </div>
</template>

<script>
export default {
  // eslint-disable-next-line vue/multi-word-component-names
  name: 'Docker',
  setup () {
    const dockerList = [
      { name: '首页' },
      { name: '购物车' },
      { name: '订单' },
      { name: '我的' }
    ]
    return { dockerList }
  }
}
</script>

<style lang="scss" scoped>
@import '../../style/virables';
.docker{
  display: flex;
  position: absolute;
  box-sizing: border-box;
  padding: 0 .18rem;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 0.49rem;
  border-top: 1px solid #F1F1F1;
  .docker__item{
    line-height: .49rem;
    flex: 1;
    text-align: center;
  }
}

</style>
